cmake_minimum_required(VERSION 2.6)
project(hypoPhen)
find_package(OpenCV REQUIRED )
include_directories(include)
include_directories(${OpenCV_INCLUDE_DIR})
set (SOURCES
	src/snake.cpp
	src/snakeNest.cpp
	src/openCotyledon.cpp
	src/nestHistory.cpp
	src/imgGrabber.cpp)

set (CMAKE_CXX_FLAGS "-O3 -Wall -Wno-unused-function")
add_executable(hypoPhen ${SOURCES})
target_link_libraries ( hypoPhen ${OpenCV_LIBS} )
